package com.yiren.manager.form.assets;

import java.util.Date;

import org.springframework.format.annotation.DateTimeFormat;

import com.fasterxml.jackson.databind.annotation.JsonDeserialize;
import com.yiren.core.form.GenericForm;
import com.yiren.manager.utils.CustomJsonDateDeserializer;

public class YrRoomAssetDamagedForm extends GenericForm{
	
	private static final long serialVersionUID = -7530209497456455311L;

	private String roomAssetDamagedId;

	private String assetName;

	private String buildingId;

	private String buildingName;

	private String createId;

	@DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss") 
	private Date createTime;

	private String damagedCause;

	private Integer damagedQuantity;

	private String floorsId;

	private String floorsName;

	private String roomId;

	private String roomNumber;

	private String updateId;

	@DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
	private Date updateTime;
	
	private String roomAssetId;
	
	private String handleName;
	
	private Integer handleStatus;
	
	private YrAssetForm assetForm;
	
	private String roomType;
	
	private Float price;
	
	private String assetId;
	
	public String getAssetId() {
		return assetId;
	}

	public void setAssetId(String assetId) {
		this.assetId = assetId;
	}

	public Float getPrice() {
		return price;
	}

	public void setPrice(Float price) {
		this.price = price;
	}

	public String getRoomType() {
		return roomType;
	}

	public void setRoomType(String roomType) {
		this.roomType = roomType;
	}

	public String getRoomNumber() {
		return roomNumber;
	}

	public void setRoomNumber(String roomNumber) {
		this.roomNumber = roomNumber;
	}

	public YrAssetForm getAssetForm() {
		return assetForm;
	}

	public void setAssetForm(YrAssetForm assetForm) {
		this.assetForm = assetForm;
	}

	public Integer getHandleStatus() {
		return handleStatus;
	}

	public void setHandleStatus(Integer handleStatus) {
		this.handleStatus = handleStatus;
	}

	public String getHandleName() {
		return handleName;
	}

	public void setHandleName(String handleName) {
		this.handleName = handleName;
	}

	public String getRoomAssetId() {
		return roomAssetId;
	}

	public void setRoomAssetId(String roomAssetId) {
		this.roomAssetId = roomAssetId;
	}

	public String getRoomAssetDamagedId() {
		return roomAssetDamagedId;
	}

	public void setRoomAssetDamagedId(String roomAssetDamagedId) {
		this.roomAssetDamagedId = roomAssetDamagedId;
	}

	public String getAssetName() {
		return assetName;
	}

	public void setAssetName(String assetName) {
		this.assetName = assetName;
	}

	public String getBuildingId() {
		return buildingId;
	}

	public void setBuildingId(String buildingId) {
		this.buildingId = buildingId;
	}

	public String getBuildingName() {
		return buildingName;
	}

	public void setBuildingName(String buildingName) {
		this.buildingName = buildingName;
	}

	public String getCreateId() {
		return createId;
	}

	public void setCreateId(String createId) {
		this.createId = createId;
	}

	public Date getCreateTime() {
		return createTime;
	}

	@JsonDeserialize(using=CustomJsonDateDeserializer.class)
	public void setCreateTime(Date createTime) {
		this.createTime = createTime;
	}

	public String getDamagedCause() {
		return damagedCause;
	}

	public void setDamagedCause(String damagedCause) {
		this.damagedCause = damagedCause;
	}

	public Integer getDamagedQuantity() {
		return damagedQuantity;
	}

	public void setDamagedQuantity(Integer damagedQuantity) {
		this.damagedQuantity = damagedQuantity;
	}

	public String getFloorsId() {
		return floorsId;
	}

	public void setFloorsId(String floorsId) {
		this.floorsId = floorsId;
	}

	public String getFloorsName() {
		return floorsName;
	}

	public void setFloorsName(String floorsName) {
		this.floorsName = floorsName;
	}

	public String getRoomId() {
		return roomId;
	}

	public void setRoomId(String roomId) {
		this.roomId = roomId;
	}

	public String getUpdateId() {
		return updateId;
	}

	public void setUpdateId(String updateId) {
		this.updateId = updateId;
	}

	public Date getUpdateTime() {
		return updateTime;
	}

	@JsonDeserialize(using=CustomJsonDateDeserializer.class)
	public void setUpdateTime(Date updateTime) {
		this.updateTime = updateTime;
	}
	
}
